home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-11-22 | 85.3 KB | 1,802 lines |
-
-
-
-
-
-
-
- ┌┬──┬┐ ┌┐ ┌┐ ┌───■ ┌┬──┬┐ ┌┬──┐ ┌┬──┬┐ ┌┐ ┌┐
- ││ ││ │├┐ ││ │ ││ ││ ││ ├┐ ││ ││ ││ ││
- ││ ││ ││└┐││ ├─■ ├┼──┼┤ ││ ││ ├┼──┼┤ └┴──┼┤
- ││ ││ ││ └┤│ │ ││ ││ ││ ├┘ ││ ││ ││
- └┴──┴┘ └┘ └┘ └────■ └┘ └┘ └┴──┘ └┘ └┘ ││
- ONEADAY A Multivitamin For Your PC ││
- ■─────────────────────────────────────────────┴┘
- V1.0 Shareware Version
-
-
-
-
-
-
-
- ╓─────────────────────────────────────────╖
- ║ ║
- ║ ╔╦╦╦╦╦╦╦╦╦╦╗ ║
- ║ ╠╬╬╬╩╩╩╩╬╬╬╣ ║
- ║ ╠╬╬╣ ╚╩╩╝ ╓──────╖ ╓────╖ ║
- ║ ╠╬╬╣ ║ ■ ║ ╙╖ ║
- ║ ╠╬╬╣ ╔╦╦╦╦╦╗ ║ ║ ╙╖ ║
- ║ ╠╬╬╣ ╚╩╬╬╬╬╝ ╙──────╖ ║ ║ ║
- ║ ╠╬╬╣ ╠╬╬╣ ║ ║ ╓╜ ║
- ║ ╠╬╬╬╦╦╦╦╬╬╬╣ ■ ║ ║ ╓╜ ║
- ║ ╚╩╩╩╩╩╩╩╩╩╩╝ ╙──────╜ ╙────╜ ║
- ║ ╔═╗ Gray Software Development ╔═╗ ║
- ║ ║ ╙───────────────────────────╜ ║ ║
- ╙────╨───────────────────────────────╨────╜
-
-
-
-
-
- ┌─────────┐
- ┌─────┴───┐ │ (R)
- ──│ │o │──────────────────
- │ ┌─────┴╨──┐ │ Association of
- │ │ │─┘ Shareware
- └───│ o │ Professionals
- ──────│ ║ │────────────────────
- └────╨────┘ MEMBER
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #i
-
- Table of Contents
-
- 1.0 INTRODUCTION................................................1
- 1.1 SHAREWARE and LICENSING information....................1
- 1.1.1 A DEFINITION OF SHAREWARE.......................1
- 1.2 REQUIREMENTS...........................................3
- 1.3 FEATURES...............................................3
- 1.4 GETTING STARTED WITH ONEADAY (installation, etc.)......5
-
- 2.0 COMMAND REFERENCE...........................................6
- 2.1 COMMAND SYNTAX.........................................6
- 2.1.1 COMMAND LINE OPTIONS............................6
- 2.1.2 Command line option basics......................7
- EXAMPLE 2-1......................................7
- EXAMPLE 2-2......................................8
- 2.1.2.1 Command line options -- their place in
- line........................................8
- 2.1.2.2 Command line options with parameters.....8
- EXAMPLE 2-3.................................9
- 2.2 USING COMMAND LINE OPTIONS.............................9
- 2.2.1 /C = Confirmation...............................10
- 2.2.1.1 Changing options from the Confirmation
- screen......................................10
- EXAMPLE 2-4.................................10
- EXAMPLE 2-5.................................10
- EXAMPLE 2-6.................................11
- EXAMPLE 2-7.................................11
- 2.2.2 /E - Every time ONEADAY runs....................11
- EXAMPLE 2-8......................................12
- 2.2.3 /H - Help screen................................12
- EXAMPLE 2-9......................................12
- 2.2.4 /CE - Confirm every time........................12
- EXAMPLE 2-10.....................................13
- EXAMPLE 2-11.....................................13
- 2.2.5 /M:XX - Day of month option.....................13
- EXAMPLE 2-12.....................................13
- EXAMPLE 2-13.....................................13
- EXAMPLE 2-14.....................................14
- 2.2.6 /D:XX - Day of week option......................14
- EXAMPLE 2-15.....................................14
- EXAMPLE 2-16.....................................15
- EXAMPLE 2-17.....................................15
- 2.2.6.1 /Dx:XX - Day of week option for specific
- week........................................15
- EXAMPLE 2-18................................16
- 2.2.7 /F:filename.....................................16
- EXAMPLE 2-19.....................................17
- EXAMPLE 2-20.....................................17
- 2.2.8 Using the /D, /M, and /F options together.......17
- EXAMPLE 2-21.....................................17
- EXAMPLE 2-22.....................................17
- EXAMPLE 2-23.....................................18
- EXAMPLE 2-24.....................................18
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #ii
-
-
- Table of Contents (continued)
-
-
- 2.2.9 /Q - Disable ONEADAY message....................18
- 2.2.10 /QE - Disable ONEADAY message and run every
- time.............................................19
- 2.2.11 /T:XX - Timed confirmation screen..............19
- EXAMPLE 2-25.....................................19
- 2.2.12 /TE:XX - Timed confirmation screen (run
- every time)......................................19
- 2.2.13 /TD:XX - Timed confirmation screen (end if time
- is out)..........................................20
-
- 2.3 ONEADAY Quick Command Reference.............................21
-
- 3.0 OTHER CONSIDERATIONS........................................22
- 3.1 Using ECHO OFF in batch files..........................22
- 3.2 Message from GRAY SOFTWARE DEVELOPMENT.................22
- 3.3 About the Comment and Suggestion form..................23
-
- Comment and suggestion form................................24
-
- 4.0 SUPPORT AND REGISTRATION DETAILS............................25
- 4.1 ONEADAY Distribution files.............................25
- 4.2 Support for unregistered persons.......................25
- 4.3 Support for registered users of ONEADAY................26
- 4.4 Benefits of Registration...............................26
-
- APPENDIX A - Printing the Manuals...............................27
-
-
-
-
- ╔═══ ASP OMBUDSMAN STATEMENT ═══════════════════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
- This program is produced by a member of the Association of
- Shareware Professionals (ASP). ASP wants to make sure that the
- shareware principle works for you. If you are unable to resolve a
- shareware-related problem with an ASP member by contacting the
- member directly, ASP may be able to help. The ASP Ombudsman can
- help you resolve a dispute or problem with an ASP member, but does
- not provide technical support for members' products. Please write
- to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442-9427
- USA, FAX 616-788-2765 or send a CompuServe message via CompuServe
- Mail to ASP Ombudsman 70007,3536.
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #1
-
-
- ╔═══ 1.0 INTRODUCTION ══════════════════════════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
- ONEADAY is a simple but powerful program that will run up to
- ten executable programs one or more times a day. I like to think
- of ONEADAY as a multi-vitamin for the PC. ONEADAY can include up
- to ten individual vitamins (commands) of your choosing. Use
- ONEADAY to automate those necessary, but tedious, tasks we all
- hate.
- I wrote ONEADAY to include in my AUTOEXEC.BAT file to execute
- certain commands that I only want to run once a day. The reason
- for ONEADAY is that often in a days time I will turn off my computer
- for some period of time and then return to it later when time
- permits. With ONEADAY I can make sure that tedious tasks get taken
- care of at least once a day but I don't have to wait for those tasks
- every time I reboot my computer. An example of this might be to run
- a batch file that cleans all backup files (.BAK, etc.) off your hard
- drive and then a disk optimizer.
- Other uses for ONEADAY include running certain programs on
- specific days of the week, or specific days of the month. The only
- thing that limits the number of uses for ONEADAY is your imagination.
-
- 1.1 SHAREWARE and LICENSING information
- ■───────────────────────────────────────────────────────────────■
-
- ONEADAY is released as shareware. Please feel free to
- distribute the shareware version of ONEADAY. If you share ONEADAY
- with your friends you must distribute it without changing any of
- the files. If you do not have all of the files listed in the
- README file or if any of the files are changed in any way please
- notify me and I will send you fresh copies.
-
- As a registered user you are granted a license to use ONEADAY
- on any personal computer system you may own as long as the program
- is operated on only one computer system at a time. If you own
- several computers and wish to use ONEADAY on more than one at a
- time registration for each copy is required. Registration for
- more than one copy entitles you to discounted rates per copy. Refer
- to the file ORDER.DOC for more information on prices. ONEADAY is
- not free nor is it in the public domain.
-
- 1.1.1 A DEFINITION OF SHAREWARE
- ■───────────────────────────────────────────────────────────────■
-
- Shareware distribution gives users a chance to try software
- before buying it. If you try a Shareware program and continue
- using it, you are expected to register. Individual programs
- differ on details -- some request registration while others
- require it, some specify a maximum trial period. With
- registration, you get anything from the simple right to continue
- using the software to an updated program with printed manual.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #2
-
-
- Copyright laws apply to both Shareware and commercial
- software, and the copyright holder retains all rights, with a
- few specific exceptions as stated below. Shareware authors are
- accomplished programmers, just like commercial authors, and the
- programs are of comparable quality. (In both cases, there are
- good programs and bad ones!) The main difference is in the method
- of distribution. The author specifically grants the right to copy
- and distribute the software, either to all and sundry or to a
- specific group. For example, some authors require written
- permission before a commercial disk vendor may copy their
- Shareware.
-
- Shareware is a distribution method, not a type of software.
- You should find software that suits your needs and pocketbook,
- whether it's commercial or Shareware. The Shareware system makes
- fitting your needs easier, because you can try before you buy.
- And because the overhead is low, prices are low also. Shareware
- has the ultimate money-back guarantee -- if you don't use the
- product, you don't pay for it.
-
- Users of ONEADAY must accept this disclaimer of warranty:
- ONEADAY is supplied as is. The author disclaims all warranties,
- expressed or implied, including, without limitation, the
- warranties of merchantability and of fitness for any purpose.
- The author assumes no liability for damages, direct or conse-
- quential, which may result from the use of ONEADAY.
-
- ONEADAY is a "shareware program" and is provided at no
- charge to the user for evaluation. Feel free to share it with
- your friends, but please do not give it away altered or as part
- of another system. The essence of "user-supported" software is
- to provide personal computer users with quality software without
- high prices, and yet to provide incentive for programmers to
- continue to develop new products. If you find this program
- useful and find that you are using ONEADAY and continue to use
- ONEADAY after a reasonable trial period, you must make a reg-
- istration payment to GRAY SOFTWARE DEVELOPMENT. The registra-
- tion fee will license one copy for use on any one computer at
- any one time. You must treat this software just like a book.
- An example is that this software may be used by any number of
- people and may be freely moved from one computer location to
- another, so long as there is no possibility of it being used
- at one location while it's being used at another. Just as a
- book cannot be read by two different persons at the same time.
-
- Commercial users of ONEADAY must register and pay for their
- copies of ONEADAY within 30 days of first use or their license
- is withdrawn. Site-License arrangements may be made by con-
- tacting GRAY SOFTWARE DEVELOPMENT.
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #3
-
-
- Anyone distributing ONEADAY for any kind of remuneration
- must first contact GRAY SOFTWARE DEVELOPMENT at the address
- below for authorization. This authorization will be
- automatically granted to distributors recognized by the (ASP)
- as adhering to its guidelines for shareware distributors, and
- such distributors may begin offering ONEADAY immediately
- (However, GRAY SOFTWARE DEVELOPMENT must still be advised so
- that the distributor can be kept up-to-date with the latest
- version of ONEADAY.).
-
- You are encouraged to pass a copy of ONEADAY along to your
- friends for evaluation. Please encourage them to register their
- copy if they find that they can use it. All registered users
- will receive a copy of the latest version of ONEADAY. ONEADAY
- may be freely copied to individual personal computer users for
- evaluation purposes. It may be posted on Bulletin Board
- systems (BBS) for electronic access as long as NO FEE is charged
- for its distribution except for private BBS operations that
- charge a regular user subscription fee.
-
- ONEADAY may NOT be distributed on diskette by any disk
- distributor/vendor that charges more than $10.00 for the diskette
- upon which the program and accompanying files are copied without
- written consent from Gray Software Development. The following
- files must be included in their original and unmodified condition:
- ONEADAY.EXE, ONEADAY.DOC, ORDER.DOC, README, LICENSE.DOC, SYSOP.DOC,
- SITELICE.DOC, VENDOR.DOC, 1INSTALL.EXE.
-
- ONEADAY is a powerful, useful, and fully functional Shareware
- product. Remember, Shareware is a computer program distribution/
- marketing method that permits potential buyers to thoroughly try
- the program prior to purchase. ONEADAY is NOT free and it is not
- in the Public Domain.
-
-
- 1.2 REQUIREMENTS
- ■───────────────────────────────────────────────────────────────■
-
- ONEADAY's requirements are very simple. You must have an IBM
- compatible PC running DOS 2.0 or higher. A floppy or hard drive
- and a keyboard. And finally, some minimal spelling ability. See,
- I told you the requirements were easy.
-
-
- 1.3 FEATURES
- ■───────────────────────────────────────────────────────────────■
-
- * ONEADAY allows you to transfer control to one or more batch
- files to run a series of commands or to run commands that have
- extensive command line options. You may include command line
- options on ONEADAY's command line.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #4
-
-
- * ONEADAY allows you to run a command that has command line
- parameters of its own without having to use a batch file.
-
- * ONEADAY allows you to choose the option of confirming the
- command line options or changing the original command line
- options from the ONEADAY confirmation screen.
-
- * ONEADAY allows you to choose the option of confirming the
- command line options from a timed confirm screen (1-99 seconds,
- or 30 seconds as the default). You may change the original
- options from this screen if the time has not already run out.
- One option causes the original options to execute automatically
- when time is up. The other causes ONEADAY to end if time runs
- out.
-
- * ONEADAY will let you choose the option of running your
- command line options every time ONEADAY runs. The default is
- only once a day.
-
- * ONEADAY allows you to combine many of these options to
- enhance its usefulness.
-
- * ONEADAY allows you to override the default date file
- that is used to store the date of the last time ONEADAY was
- executed. This makes ONEADAY an even more powerful tool by
- letting you run ONEADAY with different command line options,
- that perform different tasks, by specifying a date file of
- your choice. You might use this option by including ONEADAY
- in several different batch files that run different
- applications.
-
- * ONEADAY will let you choose the option of checking for
- specific days of the week. This will allow you to perform
- certain tasks on certain days in addition to once a day. In
- combination with the /F option this allows you to specify
- your own date files. This feature will allow you to perform
- an unlimited number of day-specific tasks.
-
- * ONEADAY will allow you to disable the message displayed
- when ONEADAY is executed.
-
- * ONEADAY will allow you to specify the day of the week (by
- name) and which week in the month (1st, 2nd, etc.) or the day
- of the month (by number) that you want it to execute.
-
-
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #5
-
- 1.4 GETTING STARTED WITH ONEADAY (installation, etc.)
- ■───────────────────────────────────────────────────────────────■
-
- ONEADAY is very simple to use. The first thing you will want
- to do is install ONEADAY on your system disk.
- If you have a hard drive:
- * Insert ONEADAY distribution diskette in floppy
- drive of your choice.
- * At the system prompt enter: d:1INSTALL <ENTER>
- Where d is the floppy drive where the ONEADAY
- disk is located and <ENTER> represents pressing
- the ENTER key on you keyboard. It is very
- important to include the colon--it helps your
- computer know where to look for 1INSTALL.
- * Answer a few questions about your system and
- where you want ONEADAY to be located. Make sure
- you specify a directory that is in your path
- statement. If you are not familiar with the
- path statement you can learn about it in you DOS
- User's Guide. To see what your current path
- is you can type SET <ENTER> at the system prompt
- and you will see the current settings before you
- on the screen. The SET command will show you all
- of the Environment Variables that are set on
- your system (refer to your DOS User's Guide for
- more information).
-
- An example of a directory in your path might be if you put all
- of your utility programs in a directory that is specified in your
- path statement named TOOLS. Copying ONEADAY to your TOOLS
- directory would allow you to call ONEADAY from any directory without
- specifying the drive and directory where ONEADAY is located.
-
- If you do not have a hard disk. (ONEADAY will work on a
- system that has no hard disk but is better suited to a
- system with a hard disk.):
- * Insert ONEADAY distribution diskette in floppy
- drive of your choice.
- * At the system prompt enter: d:1INSTALL <ENTER>
- Where d is the floppy drive where the ONEADAY
- disk is located and <ENTER> represents pressing
- the ENTER key on you keyboard. It is very
- important to include the colon--it helps your
- computer know where to look for 1INSTALL.
- * Answer a few questions about your system and
- where you want ONEADAY to be located. Make sure
- you include ONEADAY on any disk from which you
- plan to call ONEADAY.
-
- ONEADAY may be called from any batch file. It is probably most
- useful when called from the autoexec.bat file to automatically run
- programs when you start up your computer.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #6
-
-
- ╔═══ 2.0 COMMAND REFERENCE ═════════════════════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
- 2.1 COMMAND SYNTAX
- ■───────────────────────────────────────────────────────────────■
-
- ONEADAY <option(s)> <file(s)>
-
- * File is the name of the file or files to run once a day.
- A file may be preceded by its complete path if it is not in
- a directory specified by your path statement.
-
- * File may have command line parameters. Enclose the file
- and any parameters within parentheses. (DIR /P) would cause
- the dir command to use the page option (refer to your trusty
- DOS User's Reference for information on the DIR command).
-
- * Options are optional, that's why they are called options.
- Options are various switches that can be used to customize
- ONEADAY to suit your own purposes. Command line options must
- be preceded by a slash.
-
- * ONEADAY recognizes both lowercase and capitol letters on
- the command line. In this document I will usually capitalize
- the options when I refer to them. This is just to set them
- apart and to maintain consistency.
-
- * ONEADAY allows you to exit immediately from any of the
- confirmation screens by pressing F10.
-
- 2.1.1 COMMAND LINE OPTIONS
- ■───────────────────────────────────────────────────────────────■
-
- * /M:XX = runs only on the day of the month specified by XX.
- XX is the number of the day (i.e., /M:20).
-
- * /C = enables confirmation of command line options. ONEADAY
- does this by displaying a confirmation screen listing the
- possible options and the options you specified on the command
- line and giving you the option to change your options from the
- command line.
-
- * /Dx:XX = runs only on the day specified by XX. XX is the
- first two letters of one of the days of the week (i.e., /d:mo).
- You must specify XX or ONEADAY will end. x is optional. x is
- the week of the month you want this command to run (1-5).
-
- * /E = execute command line options every time you run ONEADAY.
- This option does not check to see if ONEADAY has already been
- executed on a given day.
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #7
-
-
- * /F:filename = specify new check-date-file; extension of GSD
- is provided for you. This option is for using ONEADAY for
- several purposes that are not related.
-
- * /H = produces help screen.
-
- * /Q = disables ONEADAY message.
-
- * /T:XX = Timed confirm screen -- will automatically execute
- original command line options after XX seconds. If XX is not
- specified 30 is the default. Press any key to stop the count
- down. Will end if ONEADAY has already been executed that day.
-
- * /TE:XX = Timed confirm screen that will run after XX seconds
- even if ONEADAY has already been executed on a specific day.
-
- * /TD:XX = Time confirm screen that will end after XX seconds.
-
- * /CE = combination of options /C and /E.
-
- * /QE = combination of options /Q and /E.
-
-
- 2.1.2 Command line option basics.
- ■───────────────────────────────────────────────────────────────■
-
- You must include at least one command line option or ONEADAY
- will simply print an error message to the screen.
-
- You may specify one to ten command line options. If you
- specify only one option it must be either a file to be executed or
- the /H (help) option. More on the help option later.
-
- ┌── EXAMPLE 2-1 ───────────────────┐
- │ │
- │ ONEADAY one-file │
- │ │
- └──────────────────────────────────┘
-
- In EXAMPLE 1 ONEADAY will transfer control to a file named
- one-file only once a day. The next time this command line is
- executed ONEADAY will simply display a message saying ONEADAY has
- already been executed today.
-
- * You may specify up to 10 command line options--each option
- separated with a space. If you specify more than 10 command line
- options ONEADAY will simply execute the first 10 and ignore any
- others. For example you might include one option to override
- ONEADAY's default options and 9 files (executable programs).
- Another example might include 10 files with no options.
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #8
-
-
- ┌── EXAMPLE 2-2 ───────────────────────────────────────────────────┐
- │ │
- │ ONEADAY /E file1 file2 file3 file4 file5 file6 file7 file8 file9 │
- │ │
- └──────────────────────────────────────────────────────────────────┘
-
- The above command will run each of the files specified --
- file1 through file9, in order -- every time this ONEADAY command
- line is encountered. When ONEADAY is executed it checks the command
- line parameters in order. If the first parameter is a known option
- it will override the default options and execute using the command
- line option. ONEADAY will then transfer control to each file
- specified on the command line until all files have been processed.
- ONEADAY will then return control to the operating system.
-
- * Files are the executable programs you want ONEADAY to run
- one or more times a day. The only time you don't need a file on
- the command line is if you are using the /H (help) option. Even
- if you use one of the other options and forget a file ONEADAY will
- print a message to the screen saying you must include at least one
- file. ONEADAY will then return control to your system.
-
- 2.1.2.1 Command line options -- their place in line.
- ■───────────────────────────────────────────────────────────────■
-
- * Options need to be first on the command line for ONEADAY
- to recognize them. If you put an option anywhere else on the
- command line ONEADAY will think it is a file to process -- this
- will end in a "Bad command or file name" message from DOS.
-
- * If you use the /D, /F, and/or /M option you must
- follow specific rules governing the order of the
- command line options. Please refer to section
- 2.2.8, "Using the /D, /F, and /M options together,"
- for a more detailed discussion of this.
-
- * If you do not use either the /D, /M, or /F options
- you need only specify one option. I have combined
- the other options into easier combinations so you
- won't have to fool with bunches and bunches of
- different options every time you use ONEADAY in a
- batch file.
-
-
- 2.1.2.2 Command line options with parameters.
- ■───────────────────────────────────────────────────────────────■
-
- There are two ways to process a command with parameters
- through ONEADAY. The most common is to use a batch file that
- specifies the command and any parameters. This is the preferred
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #9
-
-
- method if the ONEADAY command is long or if you plan to process
- several files from the ONEADAY command line and each requires
- command line parameters.
- The second way to process a command with a parameter is useful
- if you are only processing a couple of commands through ONEADAY.
- This involves enclosing a command and its parameters within
- parentheses. When entering a command and its parameters be sure
- to include spaces and other required characters. Enter the
- command as you would from the DOS prompt.
-
- ┌── EXAMPLE 2-3 ───────────────────────────────────────┐
- │ │
- │ ONEADAY /e (file1 -parm1 -parm2) file2 (file3 parm1) │
- │ │
- └──────────────────────────────────────────────────────┘
-
- Example 2-3 shows you the proper syntax for entering a
- command that will process three files, every time ONEADAY runs.
- File1 requires two parameters. Notice that these parameters
- begin with a - (dash character). ONEADAY does not require a
- dash character before any options. Many programs require that
- you use different characters so that program will recognize
- parameters that specify particular options. ONEADAY requires
- that you use a / (the slash character) before any command
- line options other than files to process. In this example,
- file2 either does not require any parameters or it is a batch
- file that includes a command -- and possibly some parameters
- -- to process. File3 only requires one parameter. Notice
- file3's parameter does not require a leading character.
- ONEADAY will assume that everything within the parentheses
- is entered correctly and is part of the total command to be
- processed. As you can see this takes up a lot of space on the
- command line. That is why the preferred method is using a batch
- file if you have a lot of commands that use parameters. If
- you only have one or two this method is perfectly acceptable.
- You may enter up to seven parameters for a command. If
- you enter more than seven parameters ONEADAY will end after
- printing an error message to the screen saying that you have
- entered more parameters than ONEADAY can process. If you need
- to enter more than seven options you will need to use a batch
- file.
-
- 2.2 USING COMMAND LINE OPTIONS
- ■───────────────────────────────────────────────────────────────■
-
- Generally, all options need to first on the command line.
- There are a couple of exceptions to this general rule. The
- exceptions are the /M, /F, and /D options. I will not go into
- all of the details now, these options are dealt with completely
- later. Please refer to section 2.2.8, "Using the /D, /M, and /F
- options together," for a more detailed discussion of this.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #10
-
-
- 2.2.1 /C = Confirmation
- ■───────────────────────────────────────────────────────────────■
-
- You may confirm all options or files listed on the command
- line. This is done by specifying the /C option. This is useful
- if you like to verify or change the files you listed. If you are
- satisfied with the original files specified simply hit ENTER and
- they will be executed one at a time provided that ONEADAY has not
- already been executed earlier in the day. If ONEADAY has already
- been executed at least once then the confirmation screen will tell
- you this and give you the option to override the command line
- options and enter new options.
-
- 2.2.1.1 Changing options from the Confirmation screen
- ■───────────────────────────────────────────────────────────────■
-
- There are times when you might need to change the original
- command line options. The /C (confirm) option gives you that
- option. When you specify this option you are provided with the
- option of keeping your original command line options or changing
- them. If you choose to change them you must enter all of the
- options just as if you were entering them on the original command
- line.
-
- ┌── EXAMPLE 2-4 ─────────────────┐
- │ │
- │ ONEADAY /C file1 file2 │
- │ │
- └────────────────────────────────┘
-
- In EXAMPLE 2-4 you see a command line that will call up the
- confirmation screen and display the command line options. The
- confirmation screen will display a complete list of all ONEADAY's
- options and the options you specified on the command line -- in
- this case your command line options are /C FILE1 FILE2. If you
- want file1 and file2 to run with no changes simply hit ENTER. If
- you want to change files type in the new files at the "Enter new
- commands: " prompt, you will notice the flashing underscore (DOS
- prompt). For example let's change from the current options to
- file1 and file3 with no confirmation. In this case, at the "Enter
- new commands:" prompt, you would type file1 file3 (see EXAMPLE 2-5).
-
- ╒═══ EXAMPLE 2-5 ══════════════════════════╕
- │ │
- │ Enter new commands: file1 file3_ │
- │ │
- ╘══════════════════════════════════════════╛
-
- If you wanted to confirm the new options you would have to
- enter /C or /CE first and then file1 and file3. Please refer to
- section 2.2.4, "Confirm every time", for more information on this.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #11
-
-
- Remember, using the /C option is just like entering all of your
- command line options from the system prompt. From the confirmation
- screen you can change the options any way you choose using any of
- the options available from the system prompt.
-
- If ONEADAY has already been executed on a given day a warning
- message will appear within the confirmation screen, this is
- demonstrated in EXAMPLE 2-6. This message will be in reverse
- video if your monitor and adapter card will permit. What this
- means is if you change nothing and simply hit ENTER none of the
- files or programs on the command line will be executed. ONEADAY
- will return control to the system or whatever batch file executed
- it in the first place. If this happens you will see the message
- shown in EXAMPLE 2-6.
-
- ╒═══ EXAMPLE 2-6 ═══════════════════════════════════════════════╕
- │ │
- │ ** ONEADAY has been executed today, you must use the /E ** │
- │ ** or /CE option to process any files or <ENTER> to quit. ** │
- │ │
- ╘═══════════════════════════════════════════════════════════════╛
-
- ╒═══ EXAMPLE 2-7 ═══════════════════════════════════════════════╕
- │ │
- │ ┌────────────────────────────────────────────────────────┐ │
- │ │ ONEADAY Copyright (C) 1992 Gray Software Development │ │
- │ │ All Rights Reserved │ │
- │ └────────────────────────────────────────────────────────┘ │
- │ │
- │ ONEADAY has already been executed today. │
- │ │
- │ You must specify the /E or /CE option │
- │ to run ONEADAY more than once a day. │
- │ │
- ╘═══════════════════════════════════════════════════════════════╛
-
- If you want the files listed on the confirmation screen to be
- executed even though ONEADAY has already run you must use the /CE
- option at the "Enter new commands:" prompt. Please refer to
- section 2.2.4, "Confirm every time", for more information on this.
-
-
- 2.2.2 /E - Every time ONEADAY runs
- ■───────────────────────────────────────────────────────────────■
-
- This option enables you to override ONEADAY's default setting
- of executing the files on it's command line only once a day. If
- you are wanting ONEADAY to process all of the files on the command
- line every time ONEADAY is executed then you must use this option.
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #12
-
-
- ┌── EXAMPLE 2-8 ─────────────────┐
- │ │
- │ ONEADAY /E file1 file2 │
- │ │
- └────────────────────────────────┘
-
- In example 2-8 this option is being used to process file1 and
- file2 every time this copy of ONEADAY runs.
-
-
- 2.2.3 /H - Help screen
- ■───────────────────────────────────────────────────────────────■
-
- This option displays a help screen that will give you a quick
- summary of the proper command syntax for ONEADAY, including each
- option.
- ┌── EXAMPLE 2-9 ───┐
- │ │
- │ ONEADAY /H │
- │ │
- └──────────────────┘
-
- Example 2-9 displays the usage of the help option. This
- should be the only option on the command line. Any other option
- after this on the command line will be ignored.
-
- 2.2.4 /CE - Confirm every time
- ■───────────────────────────────────────────────────────────────■
-
- This is simply a combination of the two options /C and /E.
- When you use this option it is not necessary to use either the /C
- or the /E options.
-
- * When you use the /CE option the warning message to tell you
- if ONEDAY has already been executed will not be displayed.
-
- * If you have specified the /CE option and want to run the
- listed files simply hit RETURN even if ONEADAY has already been run.
-
- If, for example, you have specified /C file1 file2 from the
- command line and ONEADAY has already been executed for that day you
- will notice a message telling ONEADAY has already been executed
- today. While looking at this screen we realize that we want to
- change the files (from file1 and file2 to file5 and file7) and
- execute them even though ONEADAY has already been executed today.
- In order to do this we must type at the "Enter new commands:"
- prompt: "/CE file5 file7" to confirm new files or "/E file5 file7"
- to execute without confirmation. This is illustrated in Examples
- 10 and 11 respectively.
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #13
-
-
- ╒═══ EXAMPLE 2-10 ════════════════════╕
- │ │
- │ Enter new commands: /ce file5 file7 │
- │ │
- ╘═════════════════════════════════════╛
-
- ╒═══ EXAMPLE 2-11 ════════════════════╕
- │ │
- │ Enter new commands: /e file5 file7 │
- │ │
- ╘═════════════════════════════════════╛
-
- Please refer to sections 2.2.1, "Confirmation," and 2.2.1.1,
- "Changing options from the Confirmation screen," for more
- information.
-
- 2.2.5 /M:XX - Day of month option
- ■───────────────────────────────────────────────────────────────■
-
- This option allows you to specify the day of the month a certain
- program or programs will run. When you use this option specify the
- day of the month using a two digit number (01 through 31). ONEADAY
- will not recognize the /M option without the : (colon) or without
- any numbers following the colon. The only numbers recognized by this
- option are the numbers between 01 and 31. You must use a zero (0)
- before any numbers between 01 and 09.
-
- ┌── EXAMPLE 2-12 ────────────────┐
- │ │
- │ ONEADAY /M:05 mybackup │
- │ │
- └────────────────────────────────┘
-
- In example 2-12, the program "mybackup" will run once on the
- 5th day of the month. If you want this to happen when you first
- boot up your computer you could put this line in your autoexec.bat
- file. This command will be ignored every other day of the month.
-
- ┌── EXAMPLE 2-13 ───────────┐
- │ │
- │ ONEADAY /M:15 myback1 │
- │ ONEADAY /M:30 myback2 │
- │ │
- └───────────────────────────┘
-
- Example 2-13 shows two command lines that may be put in a
- batch file that is run every day. On the 15th the file myback1 will
- run. On the 30th the file myback2 will run. This would be useful
- if you use a rotating backup system.
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #14
-
-
- When you use this option a message will be displayed on days
- other than the day specified. This message will simply state that
- this is not the day specified on the ONEADAY command line.
- If you use any of the other options with this one you must
- make sure that this option is either first or second on the command
- line. Please refer to section 2.2.8, "Using the /D, /M, and /F
- options together," for a more detailed discussion of this.
- It is necessary to include separate ONEADAY command lines in
- your batch files for every day-specific task.
-
-
- ┌── EXAMPLE 2-14 ───────────┐
- │ │
- │ ONEADAY /M:15 myback1 │
- │ ONEADAY /M:30 myback2 │
- │ ONEADAY everyday │
- │ │
- └───────────────────────────┘
-
- In Example 2-14, the file "myback1" will run on the 15th, the
- file "myback2" will run on the 30th, and the file "everyday" will
- run every day of the week that you boot up your computer. In this
- example, these commands would only be executed if ONEADAY had not
- already been executed that day. The third line that includes the
- file everyday will be ignored on the 15th and the 30th of the month
- since ONEADAY will have already been executed on those days. You
- could include the /E option to make sure that the everyday file
- actually did run every day.
-
-
- 2.2.6 /D:XX - Day of week option
- ■───────────────────────────────────────────────────────────────■
-
- With this option you can specify the day of the week a certain
- program or programs will run. When you use this option specify the
- day of the week with the first two letters of the respective day.
- ONEADAY will not recognize the /D option without the : (colon) or
- without any letters following the colon. The only sets of letters
- recognized after the colon are MO, TU, WE, TH, FR, SA, and SU.
-
- ┌── EXAMPLE 2-15 ────────────────┐
- │ │
- │ ONEADAY /D:FR mybackup │
- │ │
- └────────────────────────────────┘
-
- In example 2-15, the program "mybackup" will run once on
- Friday. If you want this to happen when you first boot up your
- computer you could put this line in your autoexec.bat file. This
- command will be ignored every other day of the week.
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #15
-
-
- ┌── EXAMPLE 2-16 ───────────┐
- │ │
- │ ONEADAY /D:TU myback1 │
- │ ONEADAY /D:FR myback2 │
- │ │
- └───────────────────────────┘
-
- Example 2-16 shows two command lines that may be put in a
- batch file that is run every day. On Tuesday the file myback1 will
- run. On Friday the file myback2 will run. This would be useful
- if you use a rotating backup system.
- When you use this option a message will be displayed on days
- other than the day specified. This message will simply state that
- this is not the day specified on the ONEADAY command line.
-
- If you use any of the other options with this one you must
- make sure that this option is either first or second on the command
- line. Please refer to section 2.2.8, "Using the /D, /M, and /F
- options together," for a more detailed discussion of this.
- It is necessary to include separate ONEADAY command lines in
- your batch files for every day-specific task.
-
- ┌── EXAMPLE 2-17 ───────────┐
- │ │
- │ ONEADAY /D:TU myback1 │
- │ ONEADAY /D:FR myback2 │
- │ ONEADAY everyday │
- │ │
- └───────────────────────────┘
-
- In Example 2-17, the file "myback1" will run every Tuesday,
- the file "myback2" will run every Friday, and the file "everyday"
- will run every other day of the week that you boot up your computer.
-
-
- 2.2.6.1 /Dx:XX - Day of week option for specific week
- ■───────────────────────────────────────────────────────────────■
-
- Another feature of the Day of the week option is the ability
- to pick the specific week of the month. To use this option you
- must insert a number (1 through 5) between the D and the : (colon).
- The table below shows which days are part of which week.
-
- week 1 = day 01 through day 07
- week 2 = day 08 through day 14
- week 3 = day 15 through day 21
- week 4 = day 22 through day 28
- week 5 = day 29 through day 31
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #16
-
-
- You may still use the Day of the week option without specifying
- a week. This is done by not putting any number immediately after
- the D (/D:XX). Please refer to the previous section, 2.2.6 "Day
- of week option," for further information about the Day of the week
- option without specifying a week.
-
-
- ┌── EXAMPLE 2-18 ────────────┐
- │ │
- │ ONEADAY /D1:FR myback1 │
- │ ONEADAY /D2:FR myback2 │
- │ ONEADAY /D3:FR myback1 │
- │ ONEADAY /D4:FR myback2 │
- │ │
- └────────────────────────────┘
-
- I see this as a very useful option. One possible use might
- involve the four commands in EXAMPLE 2-18. In this example,
- Friday is specified as the day that the hard disk is backed up.
- A rotating disk-set backup system is used. On Friday of week 1
- the batch file myback1 is called to run the backup program
- requiring backup disk set number one. On Friday of week 2,
- myback2 calls for backup disk set number two. This set up uses
- the same disk-set every other week. Your imagination is the only
- thing that will limit you with this option.
-
-
- 2.2.7 /F:filename
- ■───────────────────────────────────────────────────────────────■
-
- This option allows you to specify the name of the file ONEADAY
- will look for to see if it has been run already today. The
- filename may include the full name including the path. The
- extension is supplied for you. I have chosen the extension of GSD
- which stands for...yes, you are absolutely correct, Gray Software
- Development.
- I use this option to give me much more flexibility with
- ONEADAY. You may use ONEADAY in an unlimited number of batch files
- at the same time. The problem with that is that ONEADAY always
- checks the file 2DAY.GSD which it creates and updates in the
- directory where ONEADAY.EXE is found. If you have already run
- ONEADAY that day ONEADAY will end even if the command line options
- are different this time.
- This is where the /F option comes in handy. With this option
- you are able to run ONEADAY as many times as you need in order to
- perform different tasks without having to specify the /E (every
- time) option.
- When you use this option it must be either first or second on
- the command line. Please refer to section 2.2.8, "Using the /D, /M,
- and /F options together," for a more detailed discussion of this.
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #17
-
-
- ┌── EXAMPLE 2-19 ────────────────┐
- │ │
- │ ONEADAY /F:myname file1 │
- │ │
- └────────────────────────────────┘
-
- In example 2-19 file1 will run once a day if, and only if,
- /F:myname is specified before it on the command line.
-
- ┌── EXAMPLE 2-20 ────────────────┐
- │ │
- │ ONEADAY /F:myname1 file1 │
- │ ONEADAY /F:myname2 file2 │
- │ │
- └────────────────────────────────┘
-
- In example 2-20 we see two lines that could be included in a
- batch file. This might be useful if either one of these lines is
- also used in another batch file that may have already run today.
-
-
- 2.2.8 Using the /D, /M, and /F options together
- ■───────────────────────────────────────────────────────────────■
-
- When you use the /D and /F options or the /M and /F options
- on the same command line it is necessary to make sure they are the
- first and second options on the command line. It makes no difference
- which of these two options is first. No other options are allowed
- before either combination of these three.
-
- ┌── EXAMPLE 2-21 ──────────────────┐
- │ │
- │ ONEADAY /D:MO /F:myname1 file1 │
- │ │
- └──────────────────────────────────┘
-
- The command line in example 2-21 will cause file1 to be
- executed on Monday if ONEADAY finds that the file myname1.GSD has
- not been updated to the current date or, in other words, if ONEADAY
- has not been executed today using the /F option specifying myname1
- as the file to check.
-
- ┌── EXAMPLE 2-22 ──────────────────┐
- │ │
- │ ONEADAY /F:myname1 /D:MO file1 │
- │ │
- └──────────────────────────────────┘
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #18
-
-
- The command line in Example 2-22 will have the very same
- effect as the one in Example 2-21. When the /D and /F options are
- used together there is no preferred order. But remember, they
- must be in the first and second places on the command line.
-
- ┌── EXAMPLE 2-23 ──────────────────┐
- │ │
- │ ONEADAY /M:02 /F:myname1 file1 │
- │ │
- └──────────────────────────────────┘
-
- The command line in example 2-23 will cause file1 to be
- executed on the second day of the month if ONEADAY finds that
- the file myname1.GSD has not been updated to the current date
- or, in other words, if ONEADAY has not been executed today
- using the /F option specifying myname1 as the file to check.
-
- ┌── EXAMPLE 2-24 ──────────────────┐
- │ │
- │ ONEADAY /F:myname1 /M:02 file1 │
- │ │
- └──────────────────────────────────┘
-
- The command line in Example 2-24 will have the very same
- effect as the one in Example 2-23. When the /M and /F options are
- used together there is no preferred order. But remember, they
- must be in the first and second places on the command line.
-
- I doubt that you would ever want to use the /M and the /D
- options together. If you did the only time that the files on your
- command line would be executed would be if the day of the month
- specified using the /M option and the day of the week specified
- using the /D were the same day. For example, the options /M:05
- and /D:MO might be used if you wanted a particular file to run
- every Monday that happens to be the fifth day of the month.
- Personally, I don't see much of a use for this combination but
- it will work if you decide to use it. Since we do not see this
- as a practical option we only allow two of these three options
- on a command line.
-
-
- 2.2.9 /Q - Disable ONEADAY message
- ■───────────────────────────────────────────────────────────────■
-
- The /Q option is used to disable the message ONEADAY displays
- every time it runs. This may be desirable if you are using ONEADAY
- in a batch file from which you don't want any messages sent to the
- screen. This option will only effect ONEADAY's message; it has no
- effect on any programs listed on the command line. If any program
- listed on the command line sends information to the screen it will
- continue to do so.
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #19
-
-
- 2.2.10 /QE - Disable ONEADAY message and run every time
- ■───────────────────────────────────────────────────────────────■
-
- This is simply a combination of the /Q and /E options. When
- you use this option it is not necessary to use either the /Q or the
- /E options individually. I combined these options so you wouldn't
- have to use two options to get this combination.
-
- 2.2.11 /T:XX - Timed confirmation screen
- ■───────────────────────────────────────────────────────────────■
-
- The timed confirmation screen works the same as the confirmation
- screen with the following exceptions. ONEADAY will try to process
- whatever is on the original command line after XX seconds. XX can
- be a number between 01-99. You have XX seconds to press any key if
- you don't want the original command line to be processed. If you
- choose to change the commands that ONEADAY will process you may press
- any key to stop the timer. If ONEADAY has already been executed then
- ONEADAY will end processing when the time is up.
- If XX is not specified, ONEADAY will set the default time for 30
- seconds. If you want to accept the default time of 30 seconds it is
- not necessary to include the : (colon) at the end of the command.
- Using the /T:XX command without specifying the time and leaving off
- the colon is demonstrated in the first command in EXAMPLE 2-25.
- This example also includes a second command. Both of these commands
- will produce the same results.
-
- ╔══ EXAMPLE 2-25 ═════════════╗
- ║ ║
- ║ ONEADAY /T file1 file2 ║
- ║ ║
- ╟─────────────────────────────╢
- ║ ║
- ║ ONEADAY /T:30 file1 file2 ║
- ║ ║
- ╚═════════════════════════════╝
-
- Refer to sections "2.2.1 /C - Confirmation," "2.2.1.1 Changing
- options from the Confirmation screen," and "2.2.4 /CE - Confirm
- every time" for more information about the confirmation screen.
-
- 2.2.12 /TE:XX - Timed confirmation screen (run every time)
- ■───────────────────────────────────────────────────────────────■
-
- This command is essentially the same as the /T:XX command with
- the one exception that when time is up ONEADAY's original command
- line will be processed whether ONEADAY has already been executed or
- not.
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #20
-
-
- For more information about the confirmation screen refer to
- sections "2.2.1 /C - Confirmation," "2.2.1.1 Changing options from the
- Confirmation screen," "2.2.4 /CE - Confirm every time," and "2.2.11
- /T:XX - Timed confirmation screen."
-
-
- 2.2.13 /TD:XX - Timed confirmation screen (end if time is out)
- ■───────────────────────────────────────────────────────────────■
-
- This option is exactly the opposite of the /TE:XX option. If
- time is up ONEADAY will end whether ONEADAY has been executed or not.
- You have XX seconds to either execute the original command line or
- enter new options. To execute the original command line options
- press any key to stop the timer and then press ENTER to keep the
- original options. If ONEADAY has already been executed then ONEADAY
- will end unless your first option after /TD:XX was the /E option or
- you change the command line options from the confirmation screen.
- For more information about the confirmation screen refer to
- sections "2.2.1 /C - Confirmation," "2.2.1.1 Changing options from the
- Confirmation screen," "2.2.4 /CE - Confirm every time," and "2.2.11
- /T:XX - Timed confirmation screen."
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #21
-
-
- 2.3 ONEADAY Quick Command Reference
- ■───────────────────────────────────────────────────────────────■
-
-
- ╔═════■ ONEADAY Quick Command Reference ■═════╗
- ║ ║
- ║ ┌─────────────────────────────────────┐ ║
- ║ │ ONEADAY │ ║
- ║ │ Copyright (C) 1992 │ ║
- ║ │ Gray Software Development │ ║
- ║ │ All Rights Reserved │ ║
- ║ └─────────────────────────────────────┘ ║
- ║ Command Syntax: ║
- ║ ║
- ║ ONEADAY <options> file(s) ║
- ║ ║
- ║ - File is the name of the file(s) to ║
- ║ run once a day. ║
- ║ - Options are optional. If you ║
- ║ choose an option, it must be first ║
- ║ on the command line. ║
- ║ - Options include: ║
- ║ /C = Enables confirmation of ║
- ║ command line options. ║
- ║ /CE = Options /C and /E combined. ║
- ║ /Dx:XX = Run on week day specified ║
- ║ by XX (first two letters only),║
- ║ x is week of the month (1-5). ║
- ║ /E = Execute command line options ║
- ║ every time you run ONEADAY. ║
- ║ /F:filename = specify new check- ║
- ║ date-file; GSD extension is ║
- ║ provided for you. ║
- ║ /H = Produces help screen. ║
- ║ /M:XX = Run on day of month speci- ║
- ║ fied by XX (01 through 31) ║
- ║ /Q = Disables ONEADAY message ║
- ║ (quiet mode). ║
- ║ /QE = Combination of /Q and /E. ║
- ║ /T:XX = Timed confirm screen will ║
- ║ run in XX seconds (30 default).║
- ║ /TD:XX = Timed confirm screen will ║
- ║ end in XX seconds. ║
- ║ /TE:XX = Timed confirm screen will ║
- ║ run every time. ║
- ║ ║
- ╚═════════════════════════════════════════════╝
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #22
-
-
- ╔═══ 3.0 OTHER CONSIDERATIONS ══════════════════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
-
- 3.1 Using ECHO OFF in batch files
- ■───────────────────────────────────────────────────────────────■
-
- As you know, you may transfer control from one batch file to
- another. If you have turned ECHO off in the first batch file it
- is usually not necessary to turn it off in the second. If you
- choose not to turn ECHO off each line of your batch file will be
- displayed on the screen.
- If you call any batch files from ONEADAY they must have ECHO
- turned off unless you want each line of that batch file to be
- displayed to the screen. ECHO off will not be transferred from
- the batch file that calls ONEADAY to any batch files called by
- ONEADAY. To learn more about using the ECHO command, please refer
- to your DOS User's Reference.
-
-
- 3.2 Message from GRAY SOFTWARE DEVELOPMENT
- ■───────────────────────────────────────────────────────────────■
-
- ONEADAY is not limited in any way. The only difference between
- this shareware version and a registered version is that Gray
- Software Development has included an opening message in the
- shareware version. This message will be displayed on your monitor
- for 20 seconds (to give you a chance to read it). You may also
- choose to press any key to avoid waiting the 20 seconds. This
- message will only be displayed the first time you use ONEADAY on
- a specific day. We do not want to beat you over the head with it.
- Once you register Gray Software will send you a code that will
- allow you to bypass this shareware message.
-
- ONEADAY's message has a place reserved for your name as a
- registered user. When you register we will send you a code that
- will allow you to enter your name into ONEADAY so it will be
- displayed whenever ONEADAY runs.
-
- The next option that Gray Software Development is including
- in ONEADAY is a user setup option. This option will allow you to
- include all of ONEADAY's options for different tasks in a
- configuration file. This will allow you to avoid using several
- lines in a batch file.
-
- When this update is available Gray Software Development will
- mail it directly to all registered users.
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #23
-
- If you have any ideas that might help ONEADAY to be a more
- useful and efficient utility please contact Gray Software
- Development. Your suggestions will be taken seriously. If
- there are any features that you would like to see incorporated
- into ONEADAY please let us know.
-
- We hope ONEADAY will make your daily computing easier.
-
- If you have any problems with ONEADAY please contact GRAY SOFTWARE
- DEVELOPMENT at:
-
- Gray Software Development
- P.O. Box 114
- Buckhorn, KY 41721-0114
-
- Thank you for supporting GRAY SOFTWARE DEVELOPMENT.
-
-
- 3.3 About the Comment and Suggestion form
- ■───────────────────────────────────────────────────────────────■
-
- On the next page you will find a form on which you can make
- any comments or suggestions. Please let me know what you think.
- Please include things that you would like to see incorporated in
- any updates of ONEADAY. Thank you.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- ╔═══════════════════════════════════════════════════════════════╗
- ║ Gray Software Development ║
- ╟───────────────────────────────────────────────────────────────╢
- ║ Comment and suggestion form ║
- ╟───────────────────────────────────────────────────────────────╢
- ║ ║
- ║ NAME: ______________________________________________ ║
- ║ ║
- ║ ADDRESS: ______________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ TYPE OF COMPUTER: _____________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ TYPE OF MONITOR: _____________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ COMMENTS: _____________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ SUGGESTIONS: __________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ║ _______________________________________________________ ║
- ║ ║
- ╚═══════════════════════════════════════════════════════════════╝
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #25
-
-
- ╔═══ 4.0 SUPPORT AND REGISTRATION DETAILS ══════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
- 4.1 ONEADAY Distribution files.
- ■───────────────────────────────────────────────────────────────■
-
- The files in this distribution include:
-
- LICENSE.DOC = Information on limited legal use of ONEADAY.
- ONEADAY.EXE = ONEADAY V1.0
- ONEADAY.DOC = ONEADAY V1.0 user manual
- ORDER.DOC = ONEADAY V1.0 order form
- FILE_ID.DIZ = Description file for BBSs
- README = This file
- SITELICE.DOC = Information on obtaining multiple copies of ONEADAY.
- SYSOP.DOC = Distribution information for BBS system operators.
- VENDOR.DOC = Distribution information for software vendors.
- 1INSTALL.EXE = ONEADAY installation program.
-
- If the copy you recieved does not have one or more of these
- files please contact Gray Software Development and I will send you
- a copy of the current version of ONEADAY.
-
-
- 4.2 Support for unregistered persons.
- ■───────────────────────────────────────────────────────────────■
-
- I will provide limited support to unregistered persons having
- problems getting ONEADAY to work on their computer. This support
- is only for the purpose of giving you every opportunity to try
- ONEADAY. To recieve full support you must register ONEADAY.
- If you are having trouble getting ONEADAY to work properly contact
- Gray Software Development at the address below. Please describe
- the problem that you are having and I will try to assist you.
- Also, please let me know what version you have and I will send a
- copy of the current version of ONEADAY. Support for unregistred
- users is only available through mail.
-
- Gray Software Development
- P.O. Box 114
- Buckhorn, KY 41721-0114
-
- If you choose not to register ONEADAY you must remove it
- from your hard drive or any floppies you use on a regular basis.
- Even if you do not register ONEADAY please let me know what you
- think about it.
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #26
-
-
- 4.3 Support for registered users of ONEADAY.
- ■───────────────────────────────────────────────────────────────■
-
- Gray Software development will provide full support (for one
- year) to registered users of ONEADAY. Full support includes
- answering any questions and doing everything within our power to
- help you solve any problems you may be having with ONEADAY. Gray
- Software Development wants you to be satisfied with ONEADAY and we
- feel that complete support is the only way to be sure of your
- satisfaction.
- At the current time support is only offered through the mail.
- Please do include your telephone number and if we do not under-
- stand your problem or feel speaking with you directly would better
- serve you we call you. Please state the best days and time to
- reach you by phone.
-
-
- 4.4 Benefits of Registration.
- ■───────────────────────────────────────────────────────────────■
-
- Registration ($15.00) will entitle you to:
- * ONEADAY V1.0 (Current version on disk, without shareware
- message)
- * Manual on disk
- * Your name and registration number displayed by ONEADAY
- * One free update sent automatically when available
- * Full "free" support by mail.
- * Biannual newsletter from Gray Software Development to keep
- you updated.
- * One guilt free conscience
- * Many hours of worry free computing
-
- You may purchase a printed manual for $10.00 (U.S.A.). The $10.00
- includes shipping if shipped at same time as ONEADAY V1.0 packet.
-
- To order complete and mail in the order form (ORDER.DOC) included
- with this distribution. (Don't forget your money.)
-
- I encourage international users to register and use ONEADAY. I
- will provide the same support to them as I do for users within
- the U.S.A. I do require that international users pay with U.S.
- dollars. If you write a check or money order it must be in
- U.S. dollars and drawn on a U.S. bank.
-
- If you have American Express or Optima please feel free to use
- them for registering ONEADAY. Refer to the file ORDER.DOC for
- more information.
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
- Manual ONEADAY V1.0 (A multivitamin for your PC) Page #27
-
-
- ╔═══ APPENDIX A - Printing the Manuals ═════════════════════════╗
- ╚═══════════════════════════════════════════════════════════════╝
-
- You can print the manual (ONEADAY.DOC) and the order form
- (ORDER.DOC) by copying the file to PRN (printer). Before you
- enter this command make sure that your continuous feed paper is
- aligned properly and the printer's print head is at the upper left
- hand corner. The manual (ONEADAY.DOC) is 26 pages long.
-
- At the system prompt type:
-
- COPY ONEADAY.DOC PRN
-
- or
-
- COPY ORDER.DOC PRN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ONEADAY
- Copyright (C) 1992 Gray Software Development
- ALL RIGHTS RESERVED
-
-